#ifndef _DOCUMENT_H_
#define _DOCUMENT_H_

#include "SceneManagerModel.h"
#include "HomeGrid.h"
#include <osg/Referenced>
#include <osg/ref_ptr>

class Document : public osg::Referenced
{
public:
	Document(void);
	~Document(void);

	inline const SceneManagerModel* getModel() const { return m_rSceneManager.get(); }
	inline SceneManagerModel* getModel() { return m_rSceneManager.get(); }

	inline const HomeGrid* getHomeGrid() const { return &m_HomeGrid; }
	inline HomeGrid* getHomeGrid() { return &m_HomeGrid; }

private:
	osg::ref_ptr<SceneManagerModel> m_rSceneManager;
	HomeGrid m_HomeGrid;
};

#endif
